package com.flying.arts.trade.domain.entity;

import com.flying.arts.common.domain.entity.BaseEntity;

public class MatchedTrade extends BaseEntity<Long> {
    private String stockName;
    private long buyId;
    private double buyPrice;
    private long buyQty;
    private double buyAmt;
    private int buyDate;
    private long sellId;
    private double sellPrice;
    private long sellQty;
    private double sellAmt;
    private int sellDate;
    private long date;

    public MatchedTrade(Long id, String stockName, long buyId, double buyPrice, long buyQty, double buyAmt, int buyDate,
                        long sellId, double sellPrice, long sellQty, double sellAmt, int sellDate, long date) {
        super(id);
        this.stockName = stockName;
        this.buyId = buyId;
        this.buyPrice = buyPrice;
        this.buyQty = buyQty;
        this.buyAmt = buyAmt;
        this.buyDate = buyDate;
        this.sellId = sellId;
        this.sellPrice = sellPrice;
        this.sellQty = sellQty;
        this.sellAmt = sellAmt;
        this.sellDate = sellDate;
        this.date = date;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public long getBuyId() {
        return buyId;
    }

    public void setBuyId(long buyId) {
        this.buyId = buyId;
    }

    public double getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(double buyPrice) {
        this.buyPrice = buyPrice;
    }

    public long getBuyQty() {
        return buyQty;
    }

    public void setBuyQty(long buyQty) {
        this.buyQty = buyQty;
    }

    public double getBuyAmt() {
        return buyAmt;
    }

    public void setBuyAmt(double buyAmt) {
        this.buyAmt = buyAmt;
    }

    public int getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(int buyDate) {
        this.buyDate = buyDate;
    }

    public long getSellId() {
        return sellId;
    }

    public void setSellId(long sellId) {
        this.sellId = sellId;
    }

    public double getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(double sellPrice) {
        this.sellPrice = sellPrice;
    }

    public long getSellQty() {
        return sellQty;
    }

    public void setSellQty(long sellQty) {
        this.sellQty = sellQty;
    }

    public double getSellAmt() {
        return sellAmt;
    }

    public void setSellAmt(double sellAmt) {
        this.sellAmt = sellAmt;
    }

    public int getSellDate() {
        return sellDate;
    }

    public void setSellDate(int sellDate) {
        this.sellDate = sellDate;
    }

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }
}
